-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Update openmp/offload to new LLVM-22 build setup #152011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| .profile(profile) | ||
| .env("LLVM_CONFIG_REAL", &host_llvm_config) | ||
| .define("LLVM_ENABLE_ASSERTIONS", "ON") | ||
| .define("LLVM_ENABLE_RUNTIMES", "openmp;offload") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
offload won't work targeting a GPU. I made a change to silently accept this upstream but I don't think you're on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it, but I don't think it's worth backporting. Fwiw this config works locally without your LLVM PR.
This comment has been minimized.
This comment has been minimized.
1a6f0e4 to
a85f0aa
Compare
|
☔ The latest upstream changes (presumably #152213) made this pull request unmergeable. Please resolve the merge conflicts. |
I'm just testing the libc-gpu build as well, will push an update later.
cc @jhuber6 Does that look like what you have in mind? I'm running all 3 reusing the same output directory (out_dir). I know I shouldn't do that for higher level differences like llvm vs omp/offload builds, but when just having different targets it seems to work fine (?)
cc @Sa4dUs can you test this please for nvidia?
blocked-on LLVM rc3, which should include: llvm/llvm-project#179375